﻿using Ninject.Modules;
using ReAnimation.Graphics;
using ReAnimation.MVP.ViewInterfaces;
using ReAnimation.MVP.Views;

namespace ReAnimation.Modules
{
    public class ViewsModule: NinjectModule
    {
        public override void Load()
        {
            Bind<IMoleculeDrawer>().To<MoleculeDrawer>();
            Bind<IMainView>().To<MainForm>();
            Bind<ILoginView>().To<LoginDialog>();
            Bind<IChooseMoleculeView>().To<ChooseMoleculeForm>();
            Bind<ILinkingDialogView>().To<LinkingDialog>();
            Bind<IZMatrixTable>().To<ZMatrixTable>();
            Bind<INewMoleculeDialogView>().To < NewMoleculeDialog>();
        }
    }
}
